Skip to content

Conversation

@vishwamartur
Copy link

Related to #41

Integrate Model Context Protocol (MCP) with Cursor.

  • README.md

    • Add a section explaining MCP integration and usage.
    • Update setup instructions to include MCP configuration.
  • .cursorrules

    • Add instructions for configuring MCP in Cursor.
    • Include examples of MCP server usage.
  • .env.example

    • Add placeholders for MCP-related configurations.
  • tools/llm_api.py

    • Add support for MCP server interactions in create_llm_client function.
    • Update query_llm function to handle MCP requests.

Related to grapeot#41

Integrate Model Context Protocol (MCP) with Cursor.

* **README.md**
  - Add a section explaining MCP integration and usage.
  - Update setup instructions to include MCP configuration.

* **.cursorrules**
  - Add instructions for configuring MCP in Cursor.
  - Include examples of MCP server usage.

* **.env.example**
  - Add placeholders for MCP-related configurations.

* **tools/llm_api.py**
  - Add support for MCP server interactions in `create_llm_client` function.
  - Update `query_llm` function to handle MCP requests.
@grapeot
Copy link
Owner

grapeot commented Feb 6, 2025

Thanks a lot @vishwamartur ! This is super helpful. I will need to find some time to understand the changes. My understanding is, this acts as an example of hooking an MCP server which forwards the LLM requests into the cursorrules? Is there a reference implementation of the MCP server? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants